﻿@if (Request.IsAuthenticated)
{
    <li>@Html.Action("ProfileLink", "Profile", new { name = User.Identity.Name })</li>
    <li><a href="/Account/Logout">Выход</a></li>
}
else
{
    <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Войти<b class="caret"></b></a>
        <ul class="dropdown-menu">
            @Html.Action("LoginsList", "Account")
        </ul>
    </li>
@*ToDo: register*@
}
